#include <winsock.h>
#include <queue>

class NetworkHandler 
{
	private:
		int clientActionUDP(SOCKET sockfd, struct sockaddr *serverAdd, int size, char *msg);

	public:
		NetworkHandler(void);
		~NetworkHandler(void);
		
		int send(char *msg);

		std::string serverIPAdd;
		unsigned short serverPort;
		int updateMsgDelay;

		std::queue<std::string> messages;

		DWORD lastUpdate;
};